<?php
/**
 * Klasse zur Erzeugung eines Bootstrap Carousel
 *
 * @author		Joachim Ruf, Loresoft Software (http://www.loresoft.de)
 * @license		New BSD License
 * @version		Class for Bootstrap v2.3.2
 *
 * */


Class Bootstrap_Nav_List
{
	private $arrList = array();


	/**
	 *
	 * */
	function __construct () {
	}


	/**
	 * Erstellt einen neuen Nav-Eintrag
	 * @param string $_id		: Einmalige id
	 * @param string $_title	: Listentitel
	 * @param string $_content	: ANzuzeigender Listen-Content
	 * @return Bootstrap_Nav_Entry
	 * */
	public function addChild ($_id, $_title, $_content) {
		return $this->arrList[] = new Bootstrap_Nav_Entry($_id, $_title, $_content);
	}

	public function getList () {
		return $this->arrList;
	}

	public function getCount () {
		return count($this->arrList);
	}


}


?>